package com.jia.lidao.network.http.request.impl;

import com.jia.lidao.Constans;
import com.jia.lidao.network.http.request.AbstractRequest;

import org.apache.http.Header;

import java.lang.reflect.Type;
import java.util.List;

/**
 * jpush绑定<br/>
 * jpush_import
 * 
 * Created by czhang on 17/12/19.
 */
public class JpushBindRequest extends AbstractRequest {

	/**
     * jpush的id
	 */
	private String registration_id;

	public JpushBindRequest(String registration_id) {
		this.registration_id = registration_id;
	}

	@Override
	public String getUrl() {
		return Constans.BASEURL + "/member/token/jpush";
	}

	@Override
	public void initRequestParams() {
		addParam("registration_id", registration_id);
	}

	@Override
	public List<Header> getHeaders() {
		return null;
	}

	@Override
	public Type getResultType() {
		return null;
	}
}
